﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZLDC.Common.Estate;
namespace ZLDC.Estate.Quantify
{
    public partial class lp_Report_list : System.Web.UI.Page
    {
        public string deptid = "";
        public string deptname = "";
        public string type = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            deptid = _Request.GetString("deptid", "0");
            deptname = _Request.GetString("deptname", "");
            type = _Request.GetString("type", "0");
            if (!IsPostBack)
            {
                //if (type == "1")
                //{
                    iStartDay.Value = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd");
                    iEndDay.Value = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd");
                //}
                //else
                //{
                //    iStartDay.Value = DateTime.Today.ToString("yyyy-MM-dd");
                //    iEndDay.Value = DateTime.Today.ToString("yyyy-MM-dd");
                //}
            }
        }
    }
}
